package com.hkg.springcloud.service;

import com.hkg.springcloud.entities.Payment;

import java.util.List;

public interface PaymentService {
    int create(Payment payment);

    Payment queryPaymentById(Long id);

    int delete(Long id);

    List<Payment> queryAll();

    int deleteAll();
}
